render: fix arrow orientation
authorSebastian Keller <sebastian-keller@gmx.de>
Wed, 21 Jan 2015 00:14:55 +0000 (01:14 +0100)
committerBenjamin Otte <otte@redhat.com>
Wed, 21 Jan 2015 00:38:51 +0000 (01:38 +0100)
commit8836a0d6ce554164e4f513bbf0c0743f629af8e0
treee9c72a222ed3c2b95cd14d71c57336b4442ba698
parentda163469f9d344190f69bfc163517154af0e2dab
render: fix arrow orientation

The rotation code in the draw_arrow function was assuming that the arrow
would be drawn pointing upwards but it was pointing to the right
resulting in the rotated arrows pointing in the wrong direction.

The recent refactoring caused a pi/2 rotation to be lost. Rather than
adding that back somehwere (to lose it again in the future), we just
draw the arrow pointing upwards as it is expected to do with a 0 angle.
gtk/gtkcssimagebuiltin.c